package com.core.Comprimento;

import com.core.Comprimento.ComprimentoBase;

public class Jarda extends ComprimentoBase {
	
	public Jarda(double valueToBeConverted){
		this.valueToBeConverted = valueToBeConverted;
	}
	
	@Override
	public double ToMetro(){
		return this.valueToBeConverted*0.9144;
	}
	
	@Override
	public double ToCentimetro(){
	 return this.valueToBeConverted*91.44;
	}

	@Override
	public double ToMilimetro(){
	 return (float) (this.valueToBeConverted*914.4);
	}
	
	@Override
	public double ToPolegada(){
	 return this.valueToBeConverted*36;
	}
	
	@Override
	public double ToQuilometro(){
	 return this.valueToBeConverted*0.00091;
	}

	@Override
	public double ToPe(){
	 return this.valueToBeConverted*3;
	}

}

